package com.arm.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.arm.common.annotation.Excel;
import com.arm.common.core.domain.BaseEntity;

/**
 * 库存管理模块对象 arm_inventory
 * 
 * @author arm
 * @date 2023-11-06
 */
public class ArmInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存id */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String code;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String name;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private String number;

    /** 负责人id */
    @Excel(name = "负责人id")
    private Long leader;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setLeader(Long leader) 
    {
        this.leader = leader;
    }

    public Long getLeader() 
    {
        return leader;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("type", getType())
            .append("number", getNumber())
            .append("leader", getLeader())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
